package com.xhgd.order.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "order")//配置批量绑定。无需refreshScope就可以实现自动刷新
@Component
public class OrderProperties {

    String  timeout;


    String autoConfirm;
}
